<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Migration from 3.X versions: GNOME Data Access 5 manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GNOME Data Access 5 manual">
<link rel="up" href="part_begin.html" title="Part I. Getting started">
<link rel="prev" href="ch07s03.html" title="Various API changes">
<link rel="next" href="ch08s02.html" title="New unique parser">
<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="part_begin.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch07s03.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch08s02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
<div class="titlepage"><div><div><h2 class="title">
<a name="migration-2"></a>Migration from 3.X versions</h2></div></div></div>
<div class="toc"><dl class="toc">
<dt><span class="sect1"><a href="migration-2.html#id-1.2.9.2">Overview</a></span></dt>
<dt><span class="sect1"><a href="ch08s02.html">New unique parser</a></span></dt>
<dt><span class="sect1"><a href="ch08s03.html">GdaQuery and GdaCommand merge into GdaStatement</a></span></dt>
<dt><span class="sect1"><a href="migration-2-dict.html">Dictionary changes</a></span></dt>
<dt><span class="sect1"><a href="migration-2-exec.html">Statement execution</a></span></dt>
<dt><span class="sect1"><a href="migration-2-report.html">Reports</a></span></dt>
<dt><span class="sect1"><a href="ch08s07.html">Other changes</a></span></dt>
<dd><dl>
<dt><span class="sect2"><a href="ch08s07.html#id-1.2.9.8.2">Multi threading environment</a></span></dt>
<dt><span class="sect2"><a href="ch08s07.html#id-1.2.9.8.3">Configuration management</a></span></dt>
<dt><span class="sect2"><a href="ch08s07.html#id-1.2.9.8.4">Database provider's changes</a></span></dt>
<dt><span class="sect2"><a href="ch08s07.html#id-1.2.9.8.5">API changes</a></span></dt>
<dt><span class="sect2"><a href="ch08s07.html#id-1.2.9.8.6">List of removed objects and interfaces</a></span></dt>
<dt><span class="sect2"><a href="ch08s07.html#id-1.2.9.8.7">List of removed functions</a></span></dt>
</dl></dd>
</dl></div>
<div class="sect1">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id-1.2.9.2"></a>Overview</h2></div></div></div>
<p>Version 4.0 of <span class="application">Libgda</span> is a major rework of the library for the following benefits:
      </p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>easier to understand and to use API, with less strange path usage (which were inherited
	from modifications above modifications where no global coherence was addressed)</p></li>
<li class="listitem"><p>reduce the size of the library (now 1.3M compared to 1.7M once stripped) and the number of symbols 
	    (845 compared to 1420) and have less complicated and thus more maintainable code (190 files compared to 250).
	</p></li>
<li class="listitem"><p>removal of the GdaClient object from which connections were created: this object did not offer
	    any significant features and made the API more difficult to use</p></li>
<li class="listitem"><p>merge the GdaQuery and GdaCommand into only one object to represent statements</p></li>
<li class="listitem"><p>improve the quantity of information stored in the dictionary and make it easy to include some
	application-specific data, while at the same time reduce the memory footprint of the dictionary</p></li>
<li class="listitem"><p>rework provider's code to make it more common and provide skeletal implementations to make it easy to write
	new database providers</p></li>
<li class="listitem"><p>provide more efficient and complete SQL parsing (don't use Lex/Yacc anymore since there can be 
	    difficult to track problems when several parsers are used at the same time)</p></li>
</ul></div>
<p>
    </p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.32</div>
</body>
</html>